g05dzf

g05dzf © Numerical Algorithms Group, 2002.

Purpose

G05DZF Pseudo-random logical (boolean) value

Synopsis

[fun_value] = g05dzf(p)

Description

 
 The routine returns the logical value of the relation
 
                                y<p
 
 where y is a pseudo-random number from a uniform distribution 
 over (0,1), generated by G05CAF.
 

Parameters

g05dzf

Required Input Arguments:

p                                     real